import tpl from './index.tpl'
import './index.scss'

import tools from '../../utils/tools'

export default () => {
  return {
    name: 'newsFrame',
    tpl (newsUrl) {
      return tpl().replace(tools.tplReplace(), newsUrl);
    }
  }
}